Graham IPE Data Resource V3.0 Readme
Gaea Morales, Miriam Barnum, Yeiyoung Choo, and Benjamin A.T. Graham
February 28, 2023


This document briefly describes the Master IPE dataset and associated files. 


-​ The​ ​​IPE Bilateral Data Resource Codebook V3.0 "IPE Codebook Public Version 3.0”
	This is the codebook that lists all the datasets used, their sources, the data cleaning involved in the preparation process, citations, codebooks, and all the variables included in the data resource. Note that this is version 3 of a dataset originally published with the Niehaus Center for Globalization and Governance at Princeton University: https://ncgg.princeton.edu/wep/dataverse.html.

-​ ​ ​The IPE Bilateral Data Resource V3.0 "Bilateral_IPE_v3_02072023.csv", and "Bilateral_IPE_v3_02072023.RDS".
	These are the master data .csv and .RDS files, which have all countries and years, with nothing dropped or discarded. They are the product of merging many of the most common international political and economic datasets together. These two files are identical, but in different formats for ease of use across statistical softwares. 

- The ​ Master Merge file "master_merge_bilat_MB_GM_SC_220207.R”
	This R script assembles all the prepared component datasets in a single file. Data was merged by Gleditsch-Ward country code number (gwno) and year.


- The prep scripts “prep scriptsv.3.0”​, prefixed​ “prep”. Each .do and .R file formats the data in a given component dataset into bilateral GWNO-year arrangements. Each .do and .R file also lists the source of the data at the top of the file. These files allow users to see the details of the data cleaning for each component dataset. Note that in order to run these files you will need to set global variables containing the file paths to where you have stored the raw data and prepped data.
